﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
    Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Register TagPrefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages"
    Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PagingListUserControl.ascx.cs"
    Inherits="CSCV.Group1.NewsAnnouncement.PagingList.PagingListUserControl" %>
<%@ Import Namespace="System.Data" %>

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>

<%if (dt.Rows.Count > 0)
  {%>
    <table id="mainData" class="table_Blue" style="min-width: 600px" cellpadding="0"
        cellspacing="0">
        <%
    foreach (DataRow dr in dt.Rows)
    {                  
        %>
        <tr >
                <td>
                    <img alt="" src="<%= dr["ImageLink"]%>" width="70px" height="60px" />
                </td>
                <td>
                    <div style="width: 300px">
                    <div style="clear: both">
                        <a href="#">
                            <%= dr["Title"]%></a>
                    </div>
                    <div style="clear: both; text-decoration: none !important">
                        <p>
                            <%= dr["Description"] %>
                        </p>
                    </div>
                </div>
                </td>
            </tr>
            
            <%
    }
  }%>
    </table>
<div><%=_Pagination%></div>
</ContentTemplate>
</asp:UpdatePanel>

